package org.apache.pdfbox.arktaohtml;

import java.io.File;

public class Config {
    //
//    java -jar -Duser.dir=org.fit.pdfdom.D:\Product\SunwuDevelop\PPT2LESSONPLANHTML "org.fit.pdfdom.D:\Product\SunwuDevelop\PPT2LESSONPLANHTML\PPT2LessonplanHTML-POI-1.2.39.jar" ^&
    public static final String HOME = System.getProperty("user.dir");
    //public static final boolean DEBUG = System.getenv("IDEA_INITIAL_DIRECTORY") != null;/*自动确认是否是开发环境，是否是开发环境,确定是否返回开发环境的HTML*/
    public static final boolean DEBUG = true;/*自动确认是否是开发环境，是否是开发环境,确定是否返回开发环境的HTML*/

    public static final String IMAGE_TEST_WEBSERVER = "http://localhost:8230";/*是否是开发环境,确定是否返回开发环境的HTML*/
    public static final String PROGRESS_SERVER = "http://122.114.95.64:8221";/*进度推送地址*/
    public static final String IMAGE_PRODUCT_WEBSERVER = "https://static.lessonplan.cn/IMG/Show/ppt/";
    public static final String TRANS_PPT_SAVE_DIR = Config.HOME + "/targetPPTs/"; // 转为为 ppt 之后，ppt 的保存位置
    public static final String UPLOAD_SAVE_DIR = Config.HOME + "/Uploads/"; //文件上传后保存的位置

    public static final String RSYNC_EXE = Config.HOME + "/ext/rsync/rsync.exe";/*rsyanc执行的程序*/
    public static final int RSYNC_PORT = 8207;/*rsync服务器的端口*/
    public static final String RSYNC_HOST = "47.106.117.200";/*服务器主机*/
    public static final String RSYNC_MODULE = "upload";/*服务器主机*/
    public static final String RSYNC_PASSWORD = Config.HOME + "/ext/rsync/example_pwd.pwd";/*rsync密码文明*/
    public static final String IMAGE_TRANSTEMPSAVE_PATH = Config.HOME + File.separator+"transmiddleimage"+File.separator;
}
